﻿<link rel="stylesheet" href="${ctx}/common/common.css" />
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div class="layui-row layui-col-space15">
  <div class="layui-add-line"></div>
  <fieldset class="layui-elem-field layui-field-title" style="margin: 0px">
    <legend class="layui-add-title">企业信息</legend>
  </fieldset>
  <div class="layui-col-md12">
    <table class="layui-table">
      <thead>
        <tr>
          <th>企业名称</th>
          <th>营业执照代码</th>
          <th>行政区域</th>
          <th>法人</th>
          <th>联系人</th>
          <th>联系人电话</th>
          <th>操作</th>
        </tr>
      </thead>
      <tbody>
        <c:if test="${not empty enterprise}">
          <tr>
            <td>${enterprise.name}</td>
            <td>${enterprise.code}</td>
            <td>${enterprise.areaName}</td>
            <td>${enterprise.legalPerson}</td>
            <td>${enterprise.contact}</td>
            <td>${enterprise.phone}</td>
            <td>
              <a href="${ctx}/enterprise/selectEnterprise?enterpriseId=${enterprise.id}"><span style="cursor: pointer; color: blue;">详细</span></a>
            </td>
          </tr>
        </c:if>
      </tbody>
    </table>
    <c:if test="${empty enterprise}">
      <div style="text-align: center">无数据</div>
    </c:if>
  </div>
</div>

